package com.biostime.qdingding.modules.qd.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.biostime.qdingding.common.mybatis.MyBatisDao;
import com.biostime.qdingding.common.persistence.CrudDao;
import com.biostime.qdingding.modules.qd.entity.MemberCoupon;


/**
 * 普通课程Dao
 * @author king
 * @version 2016-02-17
 */
@MyBatisDao
public interface MemberCouponDao extends CrudDao<MemberCoupon> {

	boolean used(@Param(value="id") int memberCounponId, @Param(value="used") int used);

	List<MemberCoupon> findGiftByMemberId(MemberCoupon memberCoupon);

	int getCount(MemberCoupon memberCoupon);

}
